OBJECT = main  server client agent

CC = g++
#CC = arm-vfp-linux-gnu-gcc
.PHONY : all
all:${OBJECT}

client : client.o file_process.o common.o list.o
	${CC} -o client client.o file_process.o common.o list.o -lpthread
agent : agent.o agent.o file_process.o common.o
	${CC} -o agent agent.o file_process.o common.o
server : server.o server.o file_process.o common.o
	${CC} -o server server.o file_process.o common.o
main : main.o file_process.o list.o common.o  
	${CC} -o main main.o file_process.o list.o common.o

.PHONY : clean
clean:
	rm -f *.o ${OBJECT}
